<!doctype html>

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>重庆旅游 - 用户登录</title>
<link href="css/layout.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery.js"></script>

<script type="text/javascript">
	function isEqualPassword() {
		var username = document.getElementById("username").value;
		var password = document.getElementById("password").value;
		if (username.length <= 0  || password.length <= 0) {
			alert("用户名或密码为空，请重新输入");
			return false;
		} else {
			return true;
		}
	}
</script>
</head>
<body>
	<br>
	<link href="css/home_login.css" rel="stylesheet" type="text/css">
	<div class="nc-login-layout">
		<div class="nc-login">
			<div class="nc-login-title">
				<h3>用户登录</h3>
			</div>
			<div class="nc-login-content">
				<form id="register_form" method="post" onsubmit="return isEqualPassword()"
					action="UsersAction!login">
					<dl>
						<dt>用户名</dt>
						<dd style="min-height: 54px;">
							<input type="text" id="username" name="username"
								class="text tip" title="3-20位字符，可由中文、英文、数字及“_”、“-”组成" /> <label></label>
						</dd>
					</dl>
					<dl>
						<dt>密码</dt>
						<dd style="min-height: 54px;">
							<input type="password" id="password" name="password"
								class="text tip" title="6-16位字符，可由英文、数字及标点符号组成" /> <label></label>
						</dd>
					</dl>
                    <dl>
                    
                    </dl>
					<dl>
						<dt>&nbsp;</dt>
						<dd>
							<input type="submit" name="Submit" value="立即登录" class="submit fl"
								title="立即登录" /> <span for="clause" class="fl ml5">没有账号<a
								href="reg.html" target="_blank" class="agreement" title="没有账号">马上注册</a></span>
							<label></label>
						</dd>
					</dl>
				</form>
				<div class="clear"></div>
			</div>
			<div class="nc-login-bottom"></div>
		</div>
	</div>
	<div style="text-align: center; clear: both">
		<p>@重庆旅游</p>
		<br>
		<p></p>
	</div>
</body>
</html>
